Added logic to be able to edit a travel.