What is the meaning of Change_one's_ways?

Alternative form of mend one's ways

Source: wiktionary.org