update for add-record file uploads