modify categories to category