Using $wpdb to insert data into a table

If i understand well, users will update their datas in front-office, and you need to save datas in your custom table.

I think you must check on wp_ajax process which will allow you to post datas in JS to a WP_ajax handler.
This handler will be a PHP function, (can be written in your theme’s functions.php) that will insert your datas in your database.