# Refreshing Data

Spreadic maintains a constant connection to your database, so your data will be up-to-date as long as you refresh the cell that contains the Spreadic function. The Spreadic UI also provides a simple way to refresh only selected queries / all Spreadic queries in the whole workbook:

* **Refreshing specific queries**: Select from the UI menu `Cell Management`. You will then see a list of all sheets and cells containing any Spreadic queries. From the list, you can select which one(s) you would like to refresh.

<figure><img src="https://849799185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FezRwkAMDQoGABh7UHyjF%2Fuploads%2FddRSubtEIXAqx0sVWogE%2FScreenshot%202022-12-19%20at%2015.22.32.png?alt=media&#x26;token=4c946cf1-b8a0-443e-b246-f42b97f95030" alt=""><figcaption></figcaption></figure>

* **Refreshing specific queries (alternative way)**: Select the cell(s) containing the query, then select from the UI menu `Refresh Selected`.&#x20;
* **Refreshing all queries in the workbook**: Select from the UI menu `Refresh All Sheets`.

<figure><img src="https://849799185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FezRwkAMDQoGABh7UHyjF%2Fuploads%2FhnSBmleJAsQhgdHCSO0n%2FScreenshot%202022-12-19%20at%2015.25.02.png?alt=media&#x26;token=520a2010-9cd4-4670-9b53-e05a99b36eca" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You may see the cell(s) showing `Loading…` when the data is being refreshed.
{% endhint %}
