update categories