The Curse client would likely retrieve the install location from the registry.
That would be changed to point to the new location after running the game client again, hence you saw the Curse Client pick up on that change later.
You can also change the path manually. Tools, Options, Games & Addons.