update references.