return the array after saving