WAIVER AND AMENDMENT TO EQUITY PURCHASE AGREEMENT