updating parametersPlot for optimization