Update client-api.php