Thermal rehabilitation works and modernization