Update PlotGraphic.js