updating facets API according to filter history now working