updated the combined array