[SD]add delete function.
Merge branch 'local'