rewrite updater & refactor registrar