update before install script