renaming category name to slug