updates code sample blog post