update tag delete function.

Signed-off-by: gang.meng <menggangcsu@yahoo.com>