update category tree