update to fix ruby 2.2.0 warnings