updated in Array program