update config for index