update array in populate task