update to html viewer