modify snippets