change output format into html update output var2