integrated file upload, adjusted edit template