updating people class