migration for categories and tags