update and remove file upload field