SECOND AMENDMENT to the CREDIT AGREEMENT