make addTrip work with changes