update Contract