Update category code