FIRST AMENDMENT TO CREDIT AGREEMENT AND FIRST AMENDMENT TO GUARANTY AND SECURITY AGREEMENT