Change code for EMITTER::update() function.