upd delete func
upd delete