Update ruby snippts