update text classes