change the main of the plot