In place updating of arrays

Thanks, I deleted my post so as not to mislead future readers.