update window.html