Update element_upload.erl