update object reference flag