What does beforeUpdate do? | Lifecycle Hooks | svelte Interview Questions | NextRound.in