updated sample40_callback.php