CFY-1230 fixed bug in update_config