update contact map