update for ruby2