update category.