Update pre/code block.