If update to ios6 will I lose my jailbreak?

I have 5.1.1 right now and my iPhone 4 is jailbroken. If I use the feature to update my phone strait to my phone without the computer will it take away my jailbreak? And will it mess up my phone if I update it?

It will erase your jailbreak which it will see as a virus. Then it will reset your phone with the new OS. It won't mess up your phone.

If you update you lose the jailbreak until the new one comes out.