setup metrics and updater