update text rendering