return the array from the createOrUpdate function