change query operator implementation