upgrade_web.sh bug