Update insales_api.php