Update authorized_controller.rb