updateDemo with new ability to wrap all functions with apply

Signed-off-by: Josh Kurz <josh.kurz@turner.com>