adding slug to categories and adding updates for categories