update capture phonegap