update API annotation.