update the post for making a post