switching api key