update PMS.tenant_contract a inner join(select id,home_id from PMS.owner_contract) c on a.id = c.id set a.house_id = c.home_id;
update PMS.tenant_contract a inner join(select id,home_id from PMS.owner_contract) c on a.id = c.id set a.house_id = c.home_id;