Update SparseVector.