update missing references and a few typos.