You edit an array exactly how you initialize an array. array[index] = whatever.

Recommended reading:...