Update z reference.