update the text to match the code