update person, lambdas refactoring