update text and identifier