LOAN AGREEMENT AMENDMENT AND NOTE MODIFICATION AGREEMENT