Update object.cpp