update the format of the post