update demo for 2.2