How to update operation system (Ubuntu) with cyberpanel

Simple question:

Can I update my operation system (Ubuntu 18) by

sudo apt update
sudo apt dist-upgrade


Or do I destroy cyberpanel installation with this method?

How to update the Operating System in the correct way for cyberpanel installation?

Best regards,

After I destroyed some test installations doing the classic way with “apt update apt dist-upgrade” I figured out, that best method for me is to use the cyberpanel upgrade script with the same Version number of already installed system …