update index page and some settings.