update on change of text