edits the post