Make a method to sync the records.