update snippets text