searchFlight update and the atrs sql