New Techniques for the Union-Find Problems