Modify impl of update() and update spec.