update plot1, finished plot2 and plot3