update mail headers