You can just pass `update` directly. Also, no need for `/*` on the end of the URL.

```js
chrome.webRequest.onCompleted.addListener(update, {urls: ["https://github.com/notifications"]});
```