updates before reinstall