perform batch storage update instead of one by one.