update Arrays and List