Update record linkage function