clear contact media before update if the key is in the incoming data

Pretty much as the title says. Should fix #175.