preparing an update