update trip detail page.