update before_install script