add query & modify webservice