updated readme with example for error callback and mentioned batchQuery method