Update on_demand_server.rb