Update generateRecords.cc