Modified array in hashes in array