changes to service worker