update scaling save to file