modify config content