upate config