updating html layout