Added support for non-blocking update queries (waitForResult = False)