Update the code examples again for correctness

Hey guys guess how you can tell I didn't actually run my code examples