changed the way stage is saved when a new trip is created