modify index.