update object test function