updates EventMachine