Remove chance of error when updating config.