Make write a lot faster

Querying for several writes at a time makes the write a lot faster as it hides the latency needed to get the response for each request.