Daniel Ricciardo overtakes Nico Rosberg