update controller hierarchy after folder deletion