Updated snippets

- revised and added a few snippets