update cost to identify which one to have work progress