Update thd_cost_factors