update snippets