update 2 to ruby is sort of slow