update swf (close #134)