edit functionality for contact is now working