insert and update depending on if the user has submitted information before

@info26420 no worries. I hadn’t fully understood, but I understand it now.

It’s working and I think it’s at a point where I can scale it to include more inputs.

The API documentation is definitely my best friend already. I’ve learnt a lot in the last couple of months. Thanks for all the help :facepunch: