add newtext to cache