I'd like to be able to replace the text in a composition with media already edited.

Let's say someone read something off a script, but they made mistakes and repeated things. I would need to start of with Descript auto-transcribing the media, then I'd edit out all the mistakes. I'd then like to be able to replace the text in the edited composition with the already perfect text from my script.