bump dependencies and rewrite Gemfile