THIRD AMENDMENT TO CREDIT AGREEMENT AND FIRST AMENDMENT TO PLEDGE AND SECURITY AGREEMENT