update record.txt