Update therm.py