Update services/upgrade.py