Attempting to modify client save data, Unsure about where the data is being saved

Currently i am trying to modify some of the data that is saved to the database when creating a new client. I’ve looked into the clients/ and users/ directories and am trying to better understand the code before I make the changes. It looks like the data is being saved as session data in the ajax.php file in users/. Where in the code is the function that is actually updating the data to the database? Am i missing it blindly?

Thanks for the help.

The saving is handled by the CodeIgniter core and done automatically. It can be found in this line:
https://github.com/InvoicePlane/InvoicePlane/blob/master/application/modules/clients/controllers/clients.php#L73

You can tweak the form data here.

Awesome, thanks for the response!