finished implementation of editing a contact