Update scanRecords.java