foreach
update