edit snippets