Update code snippets.