update path for index page