Fix bug where update() was adding a second wrap.