update the ratio of figures.