fix basic-usage-example
using old snapshot method