update config in index.html