updated newtrip to editTrip; add editTrip functionality