add batch delete function