replace old API key by new key