SECOND AMENDMENT TO STOCK PLEDGE AGREEMENT