update gauge