- Move your wallet.dat to a safe place.
- Update the client.
- Move your wallet.dat back so you have access to your balance again (after you have tested the client and it's safe).
There you go. If you're super paranoid you could also write or print down the private keys out and then just enter them back in again on your new wallet so even if there's a problem you'll still have the coins.