update

The update() method of the ServiceWorkerRegistration interface attempts to update the service worker.

MDN Reference