All affidavits for the foreclosure of liens, including mortgages, all affidavits that are the foundation of legal proceedings, and all counter affidavits shall be amendable to the same extent as ordinary pleadings and with only the restrictions, limitations, and consequences of ordinary pleadings.
OCGA § 9-10-130