add continuous query api