update text for plots