add trip_type to trip and update trip