Updated documentation example code