modify category code