Renamed updateSize to measure.