update the HTML wrapper