Fixed reference update.