Just updated this code sample.