update detail page.