update the category.