Update indices to work iwth citegraph.