update gemfile and other depreciated requires