Update EventQueue.scala