Update QinEngine.cpp