fix install.sh and update.sh