update the structure of the index page