Update processor.js