Write updates to config file on threshold crossing