updates AP & APTest