update gemfile and routes