Changed the way you update categories