Every non-Minnesota corporation shall have a registered office and shall have a registered agent, and may change its registered office or change its registered agent, and the agent may resign or change its business address or name, in the manner prescribed by section 5.36.