writer: make compatible with metrics and registry changes
writer: make compatible with metrics and registry changes

this removes the update shorthand and implements metrics block
initialization and writing by type

saurvs/speed,performancecopilot/speed