update person class