update of hierarchy