changed whole index