IPhone update effect passcode?

So I've heard from a few people that when you update your iphone to the latest software it could reset your current passcode? Just wondering if anyone else has had any experience with this, as I do not want this to happen to me and possibly lose any of my current files on my phone. If so, does it prompt you to enter a new one? Any information would be great, thanks.

? Any information would be great, thanks.

The update did not change my passcode when I updated my iPhone.