Parties to an original treaty and an amended treaty are bound to what terms?