Updates the post