updates to snippets