add method to use bulk operations

Signed-off-by: harzicn <harzicn@gmail.com>