Add updateref.

This updates [#] references in text.