Update cost.txt