changes for upload