update the category