update demo (p2)