update object type