Update existing snippets and added some new ones.