update before install