update ruby script.