updated trip model