change category to category_id