Tree module - reparenting nodes