change trip index