SECOND AMENDMENT to CREDIT AGREEMENT