FIRST AMENDMENT TO and waiver UNDER CREDIT AGREEMENT