Update masterActor.scala