amendment TO NOTE PURCHASE AGREEMENT AND Note issuance agreement AND waiver TO Note Purchase Agreement and registration rights agreement