update array homework 1-4