If you have the code to list the products then do that in the updateproducts.php and set the retrieved values as variables!
So if you have 'link.php?id=1' then to edit it go to 'edit.php?id=1' and use:
Then have a form:
And just add the values in the db (will overwrite the old ones)!