Added helper updateObjects(JSONArray)