update config, layout & index