Update topics_controller.rb