Update ObjectMgr.cpp