edit sample UI