submit query