Update upload.py

license update