update post headers