update sample to 0.3.0