Update StaticObject.cpp