Updates contract.