changed migration from category to categories