Update array merging