Implement applyUpdate