First AMENDMENT to third amended and restated credit agreement