EBOM decomposition while preserving constraints

I am trying to modularise the existing CAD project tree to mirror the system structure of the robotic arm (gripper, wrist, base ...).
The problem is that by simply dragging the elements in a new Products/Assemblies, some constraints are getting lost.
Wht is the good praaxis for changing the structure of existing CAD models ?