My understanding with regard to the Old Testament is that over the centuries before Christ it was redacted and edited at least once and probably more times. A total rewrite was supposed to have taken place at about the time of the Babylonian Exile and return with new books also being added up until the Roman Occupation of Judea. After the detruction of Jerusalem and the temple, a council of Jewish rabbi’s reestablished the Jewish Canon for the OT at Jamnia on the coast just south of Syria. Cf: Testament by John Romer and the Oxford History of the Biblical World both still in print and available from Amazon. I have not run across any statements that would have involved a redaction and or rewrite of any of the New Testament. The Catholic Church did not adopt that Canon.