Updated snippets and removed obsolete ones