updating the index page