updates html files and sets home page