Update ajax-functions.php