fix update demo script