update gems and fix test failures