FIRST AMENDMENT TO CREDIT AGREEMENT AND COLLATERAL AGENCY AGREEMENT