update to index and config