Update stats for transform stream.