updated the category value