Updated GitHub example code