update config and index files