Update class attributes