update sidebart tree menu