update apiKey