Update contact and template