update detail.ctp