set category to categories