SECOND AMENDMENT TO RECEIVABLES PURCHASE AGREEMENT