updated the plot for MG.