change ad codes