update the index page