fix reference in _update