Update class struct