Update for query without port