updated setting of labels