updated embark controller