updates before reinstalling