fixed issue with incorect config update