update ruby script