Update array.