update EngineController and tested some functions