update the styling of the text elements on the image