update trip cost