update array explanation