handle config update