I agree, any other idea to be able to modifiy both the key and value in the array?