fixed update on array