Updating references and generated content