update post file