update array declaration