Update category parsing based on slug