change output format into html update output var