Update the enumerate categories method