Hello:
Once the post has been created, to allow the user to edit the data instead of passing “new_post” as the value for post_id you need to pass the id of the post. When the post id is passed, the form will load the existing data for editing.
Hope this is helpful!