refactoring update person servlet