Migrating the contract