Create upgrade.py