update post file extension