update for ruby