AMENDMENT 3 TO STOCK PURCHASE AGREEMENT