Panel update and Custom settings

Installed a panel recently. I’m made some settings in the file /etc/php/7.4/fpm/pool.d/domain.conf. But after today’s update, the changes I made were reset to default settings.
How can you avoid this?

Have a look here:
https://docs.hestiacp.com/admin_docs/server_management.html#how-do-web-templates-work

When editing it is the best practice to copy the template before editing. As the default templates will reset after update of HestiaCP

cp original.tpl new.tpl
cp original.stpl new.stpl
cp original.sh new.sh

This is not exactly what I need… But thanks for the link.