Update upload_legacy