Increase the time until destroy

I am firing a ball of sticky goo. In my onStart() I am calling Destroy(Goo, 5f) which will destroy it after 5 seconds from when it was created.

However, I have an onTriggerEnter() that is being called when the goo hits the main character. In this case - I want to prolong the life of the goo for an extra 5 seconds.

Is there any way I can do this?

public float timer;

 void Update()
    {
        timer-= Time.deltaTime;
        if (timer < 0)
            Destroy(Goo);
    }
    void OnCollisionEnter(Collision hit){
     if(hit.gameObject.tag=="player")
            timer += 5.0f;
    
    }