update cost work