update data to JSONArray