Add update_selected_text function to interface

for annotations for the text-markup annotations.