change query=hoboken api logic