edit on function update a contact

the update from sender completely replaces all contact datta, even for
attributes that are not included in the update.