updating labels for plots