updates example with latest adapter changes