fix some issues related to creating and updating annotations