migrate Updater to scala to use wire