retrieve new records in is_merged function