You don't need a new contract.
Kathy's solution of an addendum will add the spouse prior to closing. Make sure you check with your lender before you do that, in case there would be any implications on the loan.
Otherwise, Perry's answer will allow you to add the spouse immediately after close.
Either way, no new contract is needed.