update categories and add category switch to admin panel