update encrypted api key