update gemfile and controllers