update the measurement method