Update KEEngine.cpp