Replace query api reference

Now refers to statement API