RESTATEMENT AND AMENDMENT OF LOAN AGREEMENT BETWEEN