Fix issue when updating a contact