Update powers_controller.rb