Update Ap recognition pattern