updating category tree view