update detail panel