Adding AJAX request to update_entry JS function

Changed 'edit' crud action and 'edit_entry' function name to use 'update' instead, staying consistent with existing update functionality.