Update Contract.cs