docs(demo): update demo for functions and callback
wp