update ruby with examples