update sidebar tree