update ANN sample