update text with correct syntax