enanched code of EditPerson.java