Update array problems