[tool] update state on both ITEMS and datamap
[feature] introduce node depth
[lable] complete state update
[feature] punish headers with very few words