Replace form with an updated xlsform through API

I am editing my xlsform in a location on Onedrive and using Replace Form > Import via URL to update it as I keep testing the form.
It’s a long and complicated survey so I’m having to do this process repeatedly. the import link doesn’t change, but I have to copy and paste it every time I make a change.

Is there a way to update the form on the server from the same url without having to paste it every time? maybe through the API somehow?

@nartabaza, maybe could you just redeploy the survey form after you make a change in your onedrive to see if this works?