updating for akka version and immutable messages