Update algorithm and ServiceWorkerContainer