Updated the methods in person class