> For the complete documentation index, see [llms.txt](https://alix-lahuec.gitbook.io/zotero-roam/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alix-lahuec.gitbook.io/zotero-roam/v0.6/customization/other/autoload-autoupdate.md).

# autoload / autoupdate

## autoload

Setting `autoload: true` will make the extension turn itself on whenever the Roam graph is loaded.\
Any other value won't do anything.

## autoupdate

Setting `autoupdate: true` will make the extension check **every 60s** if there is new or modified data to be pulled from Zotero. If there is, the data will be updated accordingly.

{% hint style="warning" %}
The two types of changes that are not synced by updates are :\
\- **modifying an item's citekey :** since the extension matches items' data based on their citekey, modifying it in Zotero will result in the creation of a duplicate item in the extension's dataset.\
\- **deleting an item** : since the extension requests Zotero items with a more recent version than the last one that was retrieved, this excludes deleted items automatically.
{% endhint %}

```javascript
zoteroRoam_settings = {
    // dataRequests: {...},
    autoload: true,
    autoupdate: true
}
```
