Upgrading sample from 0.1.0 to 1.0.0