updated handling DELETE