Update code blocks