diff --git a/src/main.rs b/src/main.rs
index 775846a..9fc9f17 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -495,8 +495,8 @@ async fn upload_place(config:UploadPlaceConfig)->AResult<()>{
 	Ok(())
 }
 
-async fn download_list(cookie:String,asset_id_file_map:AssetIDFileMap)->AResult<()>{
-	let context=RobloxContext::new(cookie);
+async fn download_list(api_key:String,asset_id_file_map:AssetIDFileMap)->AResult<()>{
+	let context=RobloxContext::new(api_key);
 	futures::stream::iter(asset_id_file_map.into_iter()
 	.map(|(asset_id,file)|{
 		let context=&context;
@@ -533,8 +533,8 @@ async fn get_inventory_pages(context:&RobloxContext,group:u64)->AResult<Vec<Inve
 	Ok(asset_list)
 }
 
-async fn download_group_inventory_json(cookie:String,group:u64,output_folder:PathBuf)->AResult<()>{
-	let context=RobloxContext::new(cookie);
+async fn download_group_inventory_json(api_key:String,group:u64,output_folder:PathBuf)->AResult<()>{
+	let context=RobloxContext::new(api_key);
 	let item_list=get_inventory_pages(&context,group).await?;
 
 	let mut path=output_folder.clone();