update to plot2