If I interpret the question properly, I read that you want to change a value inside of a keyed array.
If that is the case, then this may help.