update to thermodynamics module