rewrite
verb
• write (something) again so as to alter or improve it.
• "I cobbled together a rough draft and then rewrote it"
rewrite
noun
• an instance of rewriting something.
• "he was constantly demanding rewrites, even on the set"
rewrite history
• select or present past events in a way that suits one's particular purposes.
• "they have moved closer to their goal of rewriting history with themselves in the role of hero"