changed API key storage