updating a person object