modify the figure