fixed update and delete contact