Update PlotMain.php