Update snippets.rb