dance to another tune

To talk or act differently, usually better because things have changed; be more polite or obedient because you are forced to do it.
Johnny refused to do his homework but punishment made him dance to another tune.
Categories: polite {v. phr.}