update to plot data