Updating state after filtering - Filament