modify upgrade.py