to start behaving in a more acceptable way, so that work gets done better, etc.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition