implemet delete update handler