swf: update with getaverageduration exposed