updating axis labels and main title of the plot