update popup alert AJAX