complete the upload