updates endpoint to use cat_name instead of cat_id