How can I output the data of the user, and have it update as the inputs change? For now it seems like it is only taking the default settings when the user clicks on SaveData button.
listExports() function needs to update the contents of parameters every time you call it. Essentially, you just need to add one line at the beginning of the function:
parameters = api.parameters.get();