Update category type