handle multiple result  and batch
batch update