added checking in updating person info