prim delete update