Update appcalls.php