How can I pass browser info into submissions table through event handler?

Hello everyone! On my site, I’m working with a Wix form. The form has 6 input fields and one invisible field (with the field key browser_info) so that I can retrieve details about the user’s browser and store them in my database. So far, I managed to write a function that displays the browser details on the console when I submit the form, and it looks like the browser details are added to my array of fields, but the data isn’t actually being stored in the submissions table, and I don’t know why. The screenshot shows my function. Any ideas? Thank you in advance!