Update tender_controller.rb