Add reference updater script.
Merge pull request #2 from favonia/master

Reference updater.