update ruby snippets