Update examples for new Connection/Device syntax