updating index page