update text for scratchpad