save changes to array and return in memory copy to clients