Update example with new annotate API