update text frontend