Generalized insert delete