modify adkey threshold