updates intro pattern to code block