You can't do official updates while rooted, you should have unrooted before clicking yes.
Unrooting now won't help, the mess is done.
All you can do now is flash a fresh samsung stock firmware via Odin.
Before that just attempt to wipe cache partition, dalvik cache and factory reset, it might clear things and work if the things are not too bad. Otherwise Odin is your only option.