How to update a MySQL DB with AJAX using D4PHP