Yes, you can rewrite it or amend it. Just make sure you do before the judge signs off on it. It will probably be done in chambers rather than in court.
It can be amended.
THESE COMMENTS ARE NOT LEGAL ADVICE. They are provided for informational purposes only. Actual legal advice can only be provided after consultation by an attorney licensed in your jurisdiction. Answering this question does not create an attorney-client relationship or otherwise require further consultation.
Sign up to receive a 10-part series of useful information and legal advice about the divorce process.