The court in which any action or proceeding is pending, has power to amend any process, pleading or proceeding in such action or proceeding, either in form or substance, for the furtherance of justice, on such terms as are just, at any time before judgment rendered therein. The court at every stage of the action or proceeding shall disregard any error or defect in the proceedings which do not affect the substantial rights of the parties.
MCL 600.2301