update text content