begin to behave in a better way, especially by giving up alcohol, drugs, or illegal activities.
"the casino industry is bent on cleaning up its act"