update styles for labels