built an edit trip action and form