add extended query md.
change extended query ui.