update the scale