Resetting user settings after an update

How to avoid resetting the settings after each update? 
This also applies to our customers