update example to 1.0.