update before installing