finish the upload process.