Update aj.php