working modify_contact function