update for changes in arrays APIs