adding edit functionality to a person