added file upload to edit page