update hierarchical structure