update html layout