You will just need to upload the function that have your button on (buy now, etc...). But to update the code on the page you will just need to re-enter the wizard.
To do that, select the button and in the properties panel (window -> property) and click edit and when the wizard shows up, make sure the settings are still valid and press OK.
This will update the code on the page.