Update ajax/ equivalent.php