Update category extraction