Hopefully foreach update works