Add and update snippets