update post template