Introducing updateAnnotation() and handling annotation.ids