Update functionality to store attribute to temp array