SAN FRANCISCO — Apple’s iTunes has grown stale. It is difficult to use and feels dated when compared with online music services like Spotify and Pandora. Pick your critique, and Apple has heard it.

But an overhaul of Apple’s music products, which includes an integration of the Beats music service that the Cupertino, Calif., company acquired last year for $3 billion, shows that Apple, if anything, knows it has to grab attention while playing catch-up.

In a thoroughly choreographed presentation at Apple’s annual conference for software developers, celebrities including the movie director J. J. Abrams and the rapper Drake helped Apple on Monday perform the nifty trick of matching competitors like Google and Spotify while still appearing to be on the cutting edge of the tech scene.

“We weren’t the first phone, we weren’t the first music player. That’s not where revolutions are made,” Eddy Cue, Apple’s head of software and Internet services, said in an interview after the event. “Revolutions are about bringing it all together and having the best product that actually works.”