Update data through axios post

I am trying to get data from the default value in form and after that, I want to update data using hooks when I am passing Axios post request and I am don’t understand how can I update data in uncontrolled components I am attaching a code sandbox link for better understanding my code CodeSandbox