swf: update (close #80)