update api key set location