Update the swf