Update demo example and worker script.