Heal/update z-wave and zigbee network?

Hi team - just want to know how this works…
Having a bunch of z-wave and zigbee products connected to my homey bridge and I was wondering if I move some plugs and devices around during testing or the pairing phase do I have to heal / update the network for them to have the optimal route to other devices? lets say I pair my device on one location and then move it where I want it to be later, will it self adjust the routes between the devices or is it recommended to pair it at the location it should be?

I hope you get my point! :wink: