update request for API key