Update reactor.js