You can do this by putting this script on the button that saves the text to your DB
system.db.refresh(component, propertyName)
Just make sure that you put it at the end of the rest of your scripts so that it doesn’t update before that data has been entered into your DB