update text styling.