avoid create file_upload twice into database