updating graphics with 2d char array