Fixed problem with config updating