support multiple files upload
show info in edit
refactor the validation logic