Update API format for search