recalculate the value of each salary_rate