Updates the sample to use Flow 0.9

Requires flow 0.9-SNAPSHOT