AMENDMENT AND RESTATEMENT AGREEMENT