update record file