Whenever the limits of any municipality are changed by a resolution of the governing body or by a decree of court it shall be the duty of the mayor or the president of the Board of Trustees to cause an accurate map of such territory, together with a copy of the resolution or decree duly certified, to be recorded in the office of the register of deeds of the county or counties in which such territory is situated, and thereupon such territory shall become and be a part of such municipality or be excluded therefrom as the case may be.
SDCL 9-4-11