update array extension