Add and revise snippets