I really don't know of any way to automatically update/edit the reference numbers. I've only used OCD for a year, so I don't know what the early versions of OCD were like.

However, now that you mention it I see that I also have several empty Reference number fields in my collection. But I really haven't used the number for anything.

Sorry I can't be of any help.