AJAX response updating fix