Any mutual insurance company of this state may, with the consent of all its members, after giving notice once in each week for six weeks in a newspaper of this state published in the county where the principal office of the company is located, change to a joint stock company, by proceeding in accordance with, and conforming its charter to, the provisions of this subtitle.