Updates references.