update advertise query condition