how to upload and remove document