update detail page