Update spend time calculation.