update the snippets