update headers config