updates a paragraph style on the legend