Webhook running multiple time in a single update

Hi everyone,
I am using webhook to get the updated leads and new lead in my google sheet with the help of google app script.

the challenge is when i change something in the lead it works perfect but the webhook runs three times so that is why my scripts run three times also what should I do. how can i control this.

Same problem here