update the person model