Update gameobject.cpp