What will happen to my jailbreak if I update my iphone 5?

So my iphone 5 just notified me saying that the new update is avalible. I always get the update cause I want to be up to date… Anyways I have my phone jailbroken. What will the update do? Will it harm my phone? Or just take off the jailbreak.

It will take off the jailbreak.

I should also note that OTA Updates are a 50/50 chance of actually working. I you truly want to update, use iTunes to do so, longer yes but safer in the eyes of troubleshooting.

Will take off jailbreak and make it so you will not be able to jailbreak it again

Your iPhone 5 will loose its jailbreak and a new software will be installed. Secondly, you need to use iTunes to update because OTA update does not works.

After updating you can still jailbreak using Evasi0n 1.4.
http://www.geniusbloggers.net/2013/02/evasi0n-14-to-jailbreak-ios-612.html

Use this jailbreak guide for iOS 6.
http://www.geniusbloggers.net/2013/02/how-to-jailbreak-ios-6-61-612-on-iphone.html