Where the boundaries of any city have been changed, the board of supervisors of the county in which the city is situated shall have power to change the boundary lines of townships so as to make them conform to the boundaries of the city, and to make such other changes in township lines, and the number of townships, as it may deem necessary; but no action shall be taken affecting the boundaries or existing conditions of school districts.