Whenever the board of county commissioners shall by order exclude any territory from any city, town, or village, they shall order that the boundaries of such city, town or village be changed to conform to the territory remaining in such city, town or village after such exclusion, and the county clerk shall certify a copy of the order in full to the governing body of such city, town or village, who shall thereupon by proper ordinance record the change.