update text output