Update API to pass categories by slug