Update ModelClass.cpp