Hello,
I've done some research into upgrading blocks language, and the only thing I've come accross is people modifying the XML before loading it into the workspace. Sadly there's not any best practice for this. Everyone does it a bit differently haha.
So it sounds like you're going from a block with a variable field to a block with a dropdown field? Or is it the other way around? If you're going from variables -> dropdowns, you should be able to find all of the variables by looking inside the <variables> element of the XML. For example, here is some XML containing a variable set block:
```
<variables> // Look in here to find all of the variables.
<variable>test</variable> // Note that this XML has been cleaned of IDs and things for clarity.
</variables>
<block type="variables_set">
<field name="VAR">test</field>
</block>
</xml>
```
> Now I am trying to load the workspace, create the new block with the infos from the variable_set or variable_get, connect it with the correct blocks and than delete the original one.
I think that could definitely work as well! If you decide to keep it please tell me how it goes :D
Best wishes,
--Beka