update ! add clear method

Signed-off-by: changedi <jysoftware@gmail.com>