API support for batch-updating annotations