check in details.json, and update tree.json