Update statistics_controller.rb