update to plot