update post header and post date.