Update ruby snippets