AdGuard Home update

Hi,
I wanted to ask how I can update an existing and running AdGuard Home container without losing any settings in AdGuard?

As mentioned here you will need to mount /opt/adguardhome/work and /opt/adguardhome/conf to persist data and config.