introduced SetApiKey to change the api key