How to make logic `afterStateUpdateJs()` in filament v3? - Filament