FIRST AMENDMENT TO NOTE PURCHASE AGREEMENT