Update Grobal

use one-dimensional array instead of two-dimensional array