update upload.py