yes, in find_set(), the parent[x] will be updated to the root of its set.