Updates code blocks.