json updater and gauge cleanup