Adding/rearrange the catalog trees