updated example to newest version