updates to plot