Update with new code snippets.