AMENDMENT NO. 3 TO MASTER NOTE PURCHASE AGREEMENT