Update upload.py