Regenerate categories