Update contract.php
