Update stocks_controller.rb