updating arrays aganee