update code blocks in blog posts