update demo script.