Update gauges tracking code