Update snippets.py