Update class IR building.