fixed config update bug