update Array in JsDriver