Even if you change the hostname of your VPS, HestiaCP will not show the new name. You need to run a command on the terminal to change the hostname in HestiaCP.
v-change-sys-hostname new-hostname
Since HestiaCP and MyVestaCP are a fork of VestaCP, you can use the same command on both control panels to change the hostname.