Next button click is inserting new record on click

Next button click is inserting new record on click

I have five forms.On each form I am accepting data and on next button click.For all four forms i have only one table.I am passing the DocumentID as query string and on next button click i am inserting that data in table and opening new form.

 While opening new form i am passing that DocumentID as query string .But when i click next my record in inserting as new record.Its not inserting in exsting row.I want that all data of four forms should insert into only one row.
How can i do that?