# Updating Collection Data

## <mark style="color:$primary;">Editing Collection Information.</mark>

If something changed in your mint strategy or price policy, you can always update the data shown in the **Discord&#x20;**<mark style="color:$primary;">**Stats**</mark> voice channels generated by the <mark style="color:blue;">**NFT Stats**</mark> plugin. For this, visit the <mark style="color:blue;">**NFT Stats**</mark> plugin page in Dashboard, press the <mark style="color:purple;">**Edit**</mark> button on the collection card, and change the values in the available fields.

<figure><img src="/files/oqjkH1UFCRn8gdCS1qtu" alt=""><figcaption></figcaption></figure>

Some fields, like <mark style="color:$primary;">**Marketplace**</mark>, <mark style="color:$primary;">**Collection Slug**</mark>, and <mark style="color:$primary;">**Contract**</mark>, can't be changed. When done, press the <mark style="color:purple;">**Update Collection**</mark> button and check the Stats voice channels to ensure that the info has been updated.

{% hint style="info" %} <mark style="color:$danger;">**Note:**</mark> You can only edit the collection info via Dashboard (we have no special **Discord** command for this).&#x20;
{% endhint %}

## <mark style="color:$primary;">Refreshing Collection Statistics.</mark>

Depending on your tier, the collection statistics in Stats voice channels update automatically every 24, 12, or 6 hours, but you can update them manually as well. For this:

* Visit the <mark style="color:blue;">**NFT Stats**</mark> plugin page in Dashboard, and press the <mark style="color:purple;">**Refresh**</mark> button on the desired collection card.
* Use `/refresh-collection-stats` command in **Discord** in the <mark style="color:purple;">**Bocto**</mark>**&#x20;**<mark style="color:yellow;">**#hub**</mark> channel (or any other), enter the [collection slug](/appendix/getting-collection-slug-symbol.md) and select the marketplace so that the bot can identify the collection whose statistics you want to update.

<figure><img src="/files/HVLUlGN0aMBRmSXxKd93" alt=""><figcaption></figcaption></figure>

## <mark style="color:$primary;">Refreshing Collection Metadata.</mark>

You can also trigger the refresh metadata method for your collection on the marketplace where it is listed. For this use `/refresh-metadata` command in **Discord** in the <mark style="color:purple;">**Bocto**</mark>**&#x20;**<mark style="color:yellow;">**#hub**</mark> channel (or any other), enter the [collection slug](/appendix/getting-collection-slug-symbol.md) and select the marketplace so that the bot can identify the collection whose metadata you want to update.

Unlike `/refresh-collection-stats` the `/refresh-metadata` command has 3 extra options:

* token\_id - if you only want to refresh a specific token metadata.
* token\_range - if you want to refresh metadata of a specific token range.
* refresh\_last\_20 - to refresh metadata for the last 20 tokens.

<figure><img src="/files/uWxGGx97IYTzBqAYO1Mo" alt=""><figcaption></figcaption></figure>

{% hint style="info" %} <mark style="color:$danger;">**Note:**</mark> You can only refresh your collection metadata by using this **Discord** command (we have no special option for this in Dashboard).
{% endhint %}

{% hint style="info" %} <mark style="color:$danger;">**Note:**</mark> This feature currently works only for collections listed on <mark style="color:$warning;">**OpenSea**</mark>!
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.bocto.octopeeps.com/plugins/nft-stats/updating-collection-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
