update categories file