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:

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

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