add a contact detail page and fix edit/update view