Added AJAX request for updating book status directly from autocomplete