allow type for category creation and updates