update scaling