Update BaseObject.cpp