SECOND AMENDMENT TO CREDIT AGREEMENT AND