added http callback for query system