update detail ui