overwrite all files. update bearsampp.config with customized data. overwrite /bin/mysql/( your current version )/data with your backed up data. if you've customized your php.ini then be sure to do so again or copy over your customized php.ini to the current version.
Alternate update method
overwrite /core with new version. download new modules as desired