Updated AJAX calls