update autocost program