update HTML view