# Updating

<p class="callout warning">Backup Data and Re-Deploy the Stack</p>

OwnCloud has been optimized for running in Docker and will automatically migrate your database when a new version is installed.

This allows you to [re-deploy the stack through Portainer](https://hub.subspace.services/books/portainer/page/updating-a-stack "Updating a Stack") to download the latest updates.