Adding edit capability for api key