aded event for annotation plugin