updating the post