updated create trip method