update demo and swf