update html formatting