before new save delete