update before-install.sh