afterStateUpdated in custom component - Filament