update ruby syntax