updates most of the structure of the front page