You can change the contents of an array by assigning it a value using indexes:

theArray{theRow][theCol] = theValue; // assign value to slot

Remember indexes start at 0 and go to the array...