update config content