Is it a good practice to put the initial work and improved version (both published) in PhD thesis?
If you can connect the two methods as part of a broader narrative, then you can do so and maybe should. If the second approach entirely subsumes the first, and it doesn't benefit or motivate the discussion to show the original approach, then you can skip it. Sometimes the story is about telling a story, and sometimes it's just about the solution.