update index and config