Update obj.cpp