Which preposition to use with rewritings

of Occurrences 3%

As you have seen, in some of the poems the Alterations are very large, amounting sometimes to a complete rewriting of considerable passages.

from Occurrences 1%

He read his book to his friends, who made suggestions that would have involved its rewriting from one end to the other.

Which preposition to use with  rewritings