modify annotation spec