change config and index page