update detail.