AMENDMENT No. 2 TO SECURITIES PURCHASE AGREEMENT