Changed updateCodeCategory and updateCodeDescriptor

added createCodeCategory and createCodeDescriptor