updates html structure of main template
more