Update app_upgrade.sh