update plots.