Update reactor.rb