refactor healthz/varz updating, + update logging