update with copy function first. .